@charset "utf-8";
.head{
    width: 100%;
    height: 48px;
    background: #333;
    .h_box{
        width: 1080px;
        height: 100%;
        margin: 0 auto;
        .h_box_r{
            text-align: right;
            div{
                display: inline-block;
                height: 48px;
                line-height: 48px;
                padding: 0 8px;
                font-size: 14px;
                a{
                    color: #e7e7e7;
                }
            }
            span{
                display: inline-block;
                border-left: 1px solid #666;
                height: 16px;
                vertical-align: middle;
            }
            .h_box_r1{
                position: relative;
                a{
                    margin-left: 8px;
                    &:hover{
                        color: #fff;
                    }
                }
                // 后面写入，登录之后使用的
                .i1{
                    font-size: 24px;
                    padding: 3px;
                    vertical-align: middle;
                    text-align: center;
                }
                .i2{
                    font-size: 14px;
                    padding: 8px;
                    color: #e7e7e7;
                    vertical-align: middle;
                    text-align: center;
                }
                a{
                    font-size: 14px;
                    color: #e7e7e7;
                }
                #logindexHeatActive{
                    position: absolute;
                    top: 48px;
                    left: 50%;
                    transform: translateX(-50%);
                    z-index: 10;
                    height: 210px;
                    line-height: 0;
                    display: none;
                    z-index: 1000;
                    ul{
                        background: #fff;
                        text-align: center;
                        box-shadow: 0 0 10px 1px rgba($color: #777, $alpha: 0.5);
                        li{
                            height: 35px;
                            width: 80px;
                            padding: 0 10px;
                            display: inline-block;
                            line-height: 35px;
                            margin-top: -10px;
                            color: #666;
                            font-size: 14px;
                            margin: 0;
                            cursor: pointer;
                            &:hover{
                                background: #845f3f;
                                color: #fff;
                            }
                        }
                    }
                }

                // 结束
            }
            .h_box_r3 {
                padding: 0 8px 0 1px;
                i{
                    font-size: 20px;
                    padding: 5px;
                    vertical-align: middle; 
                }
            }
            .h_box_r4 {
                padding: 0 8px 0 8px;
                position: relative;
                &:hover .box_r4_a{
                    color: #fff;
                }
                &:hover .h_box_r4_list{
                    display: block;
                }
                i{
                    font-size: 14px;
                    padding: 8px;
                    vertical-align: middle; 
                }
                /* 导航栏的隐藏列表 */
                .h_box_r4_list{
                    position: absolute;
                    width: 150px;
                    top: 48px;
                    left: 0;
                    background: #fff;
                    color: #333;
                    box-shadow: 0px 3px 10px 0.2px #eee;
                    display: none;
                    li{
                        cursor: pointer;
                        text-align: center;
                        height: 35px;
                        line-height: 35px;
                        a{
                            color: #666;
                        }
                        &:hover{
                            background: #845f3f;
                            a{color: #fff;}
                        }
                    }
                }
            }
            .h_box_r2,.h_box_r3 {
                cursor: pointer;
                &:hover a{
                    color: #fff;
                }
            } 
        }
    }
}
// 搜索框
.search{
    width: 1080px;
    height: 51px;
    padding-top: 30px;
    padding-bottom: 5px;
    margin: 0 auto;
    background: #fff;
    z-index: 999;
    // position: relative;
    .search_none{
        float: left;
        width: 60px;
        height: 51px;
        padding: 0 70px 0 10px;
        position: relative;
        .search_none_box{
            width: 48px;
            height: 24px;
            border: 1px solid #efefef;
            margin-top: 13px;
            padding: 0 5px;
            cursor: pointer;
            display: none;
            span{
                font-size: 14px;
                color: #333;
            }
            i{
                font-size: 14px;
            }
        }
        // 隐藏菜单栏
        
        .search_list{
            position: absolute;
            top: 52px;
            width: 221px;
            height: 338px;
            padding: 10px 0;
            background: #845f3f;
            float: left;
            cursor: pointer;
            display: none;
            z-index: 99;
            .search_list_box{
                li{
                    width: 161px;
                    height: 37px;
                    padding: 0 30px;
                    line-height: 37px;
                    color: #fff;
                    font-size: 14px;
                    &:hover{
                        background: rgba($color: #222, $alpha: 0.5);
                    }
                    a{
                        color: #fff;
                        &:hover{
                            color: #bb7f3f;
                        }
                    }
                }
            }
            
            // 隐藏菜单栏
            /*  *********************** */
            .search_list_active{
                width: 859px;
                height: 358px;
                background: #fff;
                position: absolute;
                top: 0;
                left: 221px;
                z-index: 20;
                overflow-y: auto;
                display: none;
                .search_listact_box{
                    width: 780px;
                    padding: 20px 30px;
                    p{
                        font-size: 14px;
                        color: #333;
                    }
                    ul{
    
                        li{
                            width: 195px;
                            height: 40px;
                            margin-bottom: 30px;
                            float: left;
                            &:hover span{
                                color: #845f3f;
                            }
                            img{
                                width: 40px;
                                height: 40px;
                                margin-right: 10px;
                                display: block;
                                float: left;
                            }
                            span{
                                display: block;
                                line-height: 40px;
                                color: #333;
                                font-size: 14px;
                                float: left;
                            }
                        }
                    }
                }
            }
        }


    }
    .search_logo{
        float: left;
        width: 123px;
        height: 51px;
        cursor: pointer;
        img{
            display: block;
            width: 123px;
            height: 51px;
        }
    }
    .search_buy{
        float: left;
        line-height: 51px;
        height: 51px;
        font-size: 18px;
        color: #666;
        cursor: pointer;
    }
    .search_box{
        float: right;
        width: 281px;
        height: 42px;
        border-bottom: 1px solid #e7e7e7;
        &:hover {
            border-bottom: 1px solid #845f3f;
        }

        i{
            font-size: 20px;
            padding: 5px;
            vertical-align: bottom;
            &:hover{
                color: #845f3f;
            }
        }
        div{
            display: inline-block;
            width: 245px;
            height: 35px;
            input{
                width: 245px;
                height: 18px;
                margin-top: 15px;
                border: 0;
            }
        }
    }
    p{
        float: right;
        width: 30px;
        height: 30px;
        text-align: center;
        margin-top: 16px;
        margin-left: 6px;
        &:hover{
            color: #845f3f;
        }
        i{
            font-size: 20px;
        }
    }
}


// 专属推荐
.recommend{
    width: 100%;
    background: #f2f2f2;
    .recommend_nav{
        width: 1080px;
        margin: 0 auto;
        height: 17px;
        padding: 30px 0 15px 0 ;
        font-size: 0px;
        span{
            cursor: pointer;
        }
        span:nth-child(1){
            font-size: 13px;
            color: #333;
            margin-right: 6px;
        }
        span:nth-child(2){
            color: #666;
            font-size: 13px;
        }
        span:nth-child(3){
            color: #999;
            font-size: 13px;
            margin: 0 6px;
        }
    }
    h2{
        width: 1080px;
        color: #333;
        font-size: 24px;
        font-weight: normal;
        margin: 0 auto;
        margin-bottom: 20px;
        margin-top: 20px;

    }
    .recommend_goods{
        width: 1080px;
        margin: 0 auto;
        .recommend_goods_box{
            width: 264px;
            height: 368px;
            border: 1px solid #e7e7e7;
            margin-bottom: 5px;
            transition: 0.5s;
            float: left;
            cursor: pointer;
            background: #fff;
            &:hover{
                transform: translateY(-1%);
                box-shadow: 0 0 10px 1px rgba($color: #999, $alpha: 0.5);
            }
            .recommend_gbox_t{
                width: 264px;
                height: 218px;
                div{
                    width: 124px;
                    height: 125px;
                    position: relative;
                    padding: 45px 70px 28px 70px;
                    img{
                        width: 124px;
                        height: 125px;
                    }
                    .recommend_gbox_tcolor{
                        position: absolute;
                        top: 8px;
                        left: 8px;
                        width: 16px;
                        height: 72px;
                        padding: 3px;
                        border: 1px solid #9f8052;
                        color: #9f8052;
                        font-size: 14px;
                        text-align: center;
                        border-radius: 4px;
                    }
                }
                p{
                    color: #845f3f;
                    width: 100%;
                    text-align: center;
                }
            }
            .recommend_gbox_b{
                width: 264px;
                height: 89px;
                margin-top: 18px;
                padding: 13px 0 10px 0;
                
                #discount{
                    width: 100%;
                    height: 20px;
                    padding: 2px 0 ;
                    display: flex;
                    justify-content: center;
                    span{
                        display: inline-block;
                        margin: 0;
                        padding: 0;
                        margin-right: 5px;
                        font-size: 14px;
                        text-align: center;
                        width: 40px;
                        height: 20px;
                        color: #FFF;
                        background: #D96B6C;
                    }
                    .discount3{
                        img{
                            width: 40px;
                            height: 20px;
                            margin: 0;
                            padding: 0;
                        }
                    }
                    
                }
                p:nth-child(2){
                    width: 100%;
                    height: 22px;
                    margin-top: 10px;
                    color: #333;
                    font-size: 18px;
                    text-align: center;
                }
                p:nth-child(3){
                    width: 100%;
                    height: 22px;
                    margin-top: 11px;
                    text-align: center;
                    color: #a92112;
                    span:nth-child(1){
                        color: #a92112;
                        font-size: 13px;
                    }
                    span:nth-child(2){
                        color: #a92112;
                        font-size: 20px;
                    }
                    span:nth-child(3){
                        color: #a92112;
                        font-size: 12px;
                    }
                }
            }
        }
    }
}



// 页角
.foot{
    width: 100%;
    margin-top:60px ;
    border-top: 1px solid #e7e7e7;
    .foot_box{
        width: 1080px;
        margin: 0 auto;
        padding-top: 45px;
        height: 92px;
        .foot_box_l{
            float: left;
            width: 123px;
            height: 45px;
            img{
                display: block;
                width: 123px;
                height: 45px;
            }
        }
        .foot_box_r{
            float: right;
            .foot_box_rl{
                float: left;
                span{
                    color: #666;
                    font-size: 12px;
                }
                a{
                    color: #666;
                    font-size: 12px;
                }
                p{
                    height: 23px;
                    line-height: 23px;
                    color: #666;
                    font-size: 12px;
                    vertical-align: middle;
                    span{
                        margin-right: 5px;
                    }
                    a{
                        margin-right: 5px;
                    }
                }

                p:nth-child(1){
                    span{
                        margin-right: 5px;
                    }
                    img{
                        display: inline-block;
                        width: 15px;
                        height: 15px;
                        vertical-align: middle;
                    }
                }
            }
            .foot_box_rr{
                float: right;
                width: 100px;
                height: 36px;
                padding-left: 30px;
                img{
                    display: block;
                    width: 100px;
                    height: 36px;
                }
            }
        }
    }
}

// 定位导航
.flxedbar{
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    box-shadow: 0 0 30px 1px rgba($color: #7e7e7e, $alpha: 0.5);
    .flxedbar_box{
        padding: 0 5px;
        li{
            width: 50px;
            height: 50px;
            padding: 10px;
            text-align: center;
            border-bottom: 1px solid #e7e7e7;
            &:hover{
                color: #a92112;
            }
            &:hover p{
                color: #a92112;
            }
            i{
                display: block;
                width: 30px;
                height: 30px;
                margin: 0 auto;
                font-size: 26px;
            }
            p{
                color: #333;
                font-size: 12px;
            }
        }
        .flxedbar_box_last{
            border-bottom: 0;
        }
    }
}